/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Library General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
 */

/**
 * @version func.h 0.0.1
 * @package Comoro
 * @author Dr.NP <np@bsgroup.org>
 * 
 * Runner functions header
 */

#include <lua.h>

// Constants
#define MAX_SEND_PARAMS						256

#define RMODE_NUM								0
#define RMODE_ASSOC							1
#define RMODE_FULL							2

/* BEGIN OF FUNCTION DEFINE */
int func_regist(lua_State *);

int func_l_set_group(lua_State *);
int func_l_set_room(lua_State *);
int func_l_set_uid(lua_State *);
int func_l_set_uname(lua_State *);
int func_l_set_extends(lua_State *);
int func_l_get_group(lua_State *);
int func_l_get_room(lua_State *);
int func_l_get_uid(lua_State *);
int func_l_get_uname(lua_State *);
int func_l_get_extends(lua_State *);
int func_l_room_add(lua_State *);
int func_l_group_add(lua_State *);
int func_l_group_del(lua_State *);
int func_l_list_group_client(lua_State *);
int func_l_get_group_runner(lua_State *);
int func_l_get_group_room(lua_State *);
int func_l_set_group_extends(lua_State *);
int func_l_get_group_extends(lua_State *);
int func_l_coin_trans(lua_State *);
int func_l_event_add(lua_State *);
int func_l_event_del(lua_State *);
int func_l_net_send(lua_State *);
int func_l_net_close(lua_State *);
int func_l_mysql_db(lua_State *);
int func_l_mysql_query(lua_State *);
int func_l_mysql_fetch_row(lua_State *);
int func_l_list_client(lua_State *);
int func_l_list_group(lua_State *);
/* END OF FUNCTION DEFINE */
